import "../utils/URLInterceptor.js"

// 获取验证码
export const getphonecode = (params) => {
	return uni.request({
		url: "/user/login/phoneLogin/"+params,
		method: "GET",
	})
}

// 手机号登入
export const phoneLong = (params) => {
	return uni.request({
		url: "/user/login",
		method: "POST",
		data: {
			...params
		},
	})
}


